﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace BCDto.TMS.MoveHouseConfig.MoveHouseConfig
{
	/// <summary>
	/// 搬家配置
	/// </summary>
	public class MoveHouseConfigDto
	{
		/// <summary>
		/// 搬家配置id
		/// </summary>
		public long MoveHouseConfigId { get; set; }
		/// <summary>
		/// 搬家配置名称
		/// </summary>
		public string MoveHouseConfigName { get; set; }
		/// <summary>
		/// 搬家配置拼音
		/// </summary>
		public string MoveHouseConfigPinYin { get; set; }
		/// <summary>
		/// 父级Id
		/// </summary>
		public int ParentId { get; set; }
		/// <summary>
		/// 所有父级Id
		/// </summary>
		public string AllParentId { get; set; }
		/// <summary>
		/// 是否父级
		/// </summary>
		public bool IsParent { get; set; }
		/// <summary>
		/// 级别
		/// </summary>
		public int Level { get; set; }
		/// <summary>
		/// 备注
		/// </summary>
		public string Remark { get; set; }
		/// <summary>
		/// 已启用
		/// </summary>
		public bool Enabled { get; set; }
		/// <summary>
		/// 图片地址
		/// </summary>
		public string PhotoAddress { get; set; }
		/// <summary>
		/// 创建时间
		/// </summary>
		public DateTime CreateTime { get; set; }
		/// <summary>
		/// 创建人Id
		/// </summary>
		public long CreateAdminId { get; set; }
		/// <summary>
		/// 创建人姓名
		/// </summary>
		public string CreateAdminName { get; set; }
		/// <summary>
		/// 修改时间
		/// </summary>
		public DateTime UpdateTime { get; set; }
		/// <summary>
		/// 修改人Id
		/// </summary>
		public long EditAdminId { get; set; }
		/// <summary>
		/// 修改人姓名
		/// </summary>
		public string EditAdminName { get; set; }
		/// <summary>
		/// 子类
		/// </summary>
		public List<MoveHouseConfigViewDto> MoveHouseConfigs = new List<MoveHouseConfigViewDto>();
	}
}
